package com.wuchao.service;

import com.wuchao.entity.User;
import org.apache.ibatis.annotations.Param;

/**
 * @Author wuchao66
 * @Date 2022/7/8 19:36
 * @Version 1.0
 */
public interface UserService{


    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
        int loadByUsernameAndPwd( String name,  String pwd);
    int load(String name,String sex);//登录

}
